<!DOCTYPE html>
<html lang="en" id="jinse">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta http-equiv="X-UA-Compatible" content="ie=edge">
    <title>Document</title>
</head>

<body>
    <header>
        <div>
            BIYAPAY
        </div>
        <h1>实时快讯</h1>
        <p>
            最新最全的区块链资讯
        </p>
    </header>
    <div class="content">
        <h3>{{ .title }}</h3>
        <span>{{ .date }}</span>
        <p>
            {{ .content }}
        </p>
    </div>
    <footer>
        <div>
            <p>区块链生态服务平台</p>
            <p>交易·汇款·支付·钱包·社区</p>
            <p>中文：https://www.biyagl.com/</p>
            <p>英文：https://www.biyapay.io/</p>
        </div>
    </footer>
</body>

</html>
<style>
    body {
        margin: 0;
        height: 100%;
    }

    div,
    h3,
    h1,
    span,
    p {
        margin: 0;
    }

    .content>div,
    .content>h3,
    .content>span,
    .content>p {
        margin: 6px 0;
    }

    .content {
        padding: 10px;
        width: 100%;
        box-sizing: border-box;
        height: calc(100% - 100px);
        overflow-y: scroll;
    }

    span {
        color: #999;
    }

    p {
        color: #333;
    }

    header {
        background: linear-gradient(to right, #1E6BDD, #0eD6BA);
        color: #fff;
        width: 100%;
        padding: 10px 40px;
        height: 160px;
        box-sizing: border-box;
    }

    header h1 {
        letter-spacing: 6px;
        border-bottom: 1px solid #fff;
        width: 80%;
        font-size: 50px;
    }

    header p {
        color: #fff;
        margin-top: 10px;
    }

    header div {
        font-weight: bold;
        font-size: 18px;
    }

    footer {
        background: linear-gradient(to right, #1E6BDD, #0eD6BA);
        padding: 10px 40px;
        height: 120px;
        /* position: fixed;
        bottom: 0; */
        width: 100%;
        box-sizing: border-box;
    }

    footer div P {
        font-size: 12px;
        color: #fff;
        margin: 6px 0;
    }
</style>